;
layui.define(["element"], function(b) {
	var a = layui.$;
	a(".input-field").on("change", function() {
		var d = a(this),
			e = a.trim(d.val()),
			c = d.parent();
		if (e !== "" && !c.hasClass("field-focus")) {
			c.addClass("field-focus")
		} else {
			c.removeClass("field-focus")
		}
	});
	b("login")
});